package cn.myjerry.others.en;

import java.util.StringTokenizer;

/**
 * Enumeration的子类
 * StringTokenizer => String: split() => 字符串分割
 * 不支持正则表达式
 * @author Jerry
 *
 */

public class Demo02 {
	public static void main(String[] args) {
		String emailString = "731238433@qq.com;sunpu@zpon.cn;jerry.zpon.cn";
		StringTokenizer token = new StringTokenizer(emailString, ";");
		while (token.hasMoreElements()) {
			System.out.println(token.nextToken());
		}
	}
}
